package cn.wolfcode.wolf2w.repository;


import cn.wolfcode.wolf2w.domain.Destination;
import cn.wolfcode.wolf2w.domain.Region;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 *   JPA规范  查询
 */
@Repository
public interface RegionRepository extends MongoRepository<Region, String>{

    List<Region> findByIshotOrderBySequenceAsc(int stateHot);




}
